home *** CD-ROM | disk | FTP | other *** search
/ Level 2005 Christmas (DVD) / Level_2005-XMAS_134_DVD_Knightshift.iso / Updates / Land of the Dead / System / UDebugMenu.u / R_UDebugVideoClient_ScriptText.TextBuffer < prev    next >
Unknown  |  2005-12-07  |  5.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 78 54 2f 2f 20 43 6f 70 |........|xT// Cop|
|00000010| 79 72 69 67 68 74 20 28 | 43 29 20 32 30 30 35 20 |yright (|C) 2005 |
|00000020| 42 72 61 69 6e 62 6f 78 | 20 47 61 6d 65 73 2e 20 |Brainbox| Games. |
|00000030| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00000040| 76 65 64 2e 0d 0a 2f 2f | 20 53 65 70 74 65 6d 62 |ved...//| Septemb|
|00000050| 65 72 20 32 37 2c 20 32 | 30 30 35 0d 0a 63 6c 61 |er 27, 2|005..cla|
|00000060| 73 73 20 55 44 65 62 75 | 67 56 69 64 65 6f 43 6c |ss UDebu|gVideoCl|
|00000070| 69 65 6e 74 20 65 78 74 | 65 6e 64 73 20 55 57 69 |ient ext|ends UWi|
|00000080| 6e 64 6f 77 44 69 61 6c | 6f 67 43 6c 69 65 6e 74 |ndowDial|ogClient|
|00000090| 57 69 6e 64 6f 77 3b 0d | 0a 0d 0a 2f 2f 20 52 65 |Window;.|...// Re|
|000000a0| 73 6f 6c 75 74 69 6f 6e | 0d 0a 76 61 72 20 55 57 |solution|..var UW|
|000000b0| 69 6e 64 6f 77 43 6f 6d | 62 6f 43 6f 6e 74 72 6f |indowCom|boContro|
|000000c0| 6c 20 52 65 73 6f 6c 75 | 74 69 6f 6e 43 6f 6d 62 |l Resolu|tionComb|
|000000d0| 6f 3b 0d 0a 76 61 72 20 | 6c 6f 63 61 6c 69 7a 65 |o;..var |localize|
|000000e0| 64 20 73 74 72 69 6e 67 | 20 52 65 73 6f 6c 75 74 |d string| Resolut|
|000000f0| 69 6f 6e 54 65 78 74 3b | 0d 0a 76 61 72 20 6c 6f |ionText;|..var lo|
|00000100| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 20 52 |calized |string R|
|00000110| 65 73 6f 6c 75 74 69 6f | 6e 48 65 6c 70 3b 0d 0a |esolutio|nHelp;..|
|00000120| 0d 0a 2f 2f 20 42 72 69 | 67 68 74 6e 65 73 73 0d |..// Bri|ghtness.|
|00000130| 0a 76 61 72 20 55 57 69 | 6e 64 6f 77 48 53 6c 69 |.var UWi|ndowHSli|
|00000140| 64 65 72 43 6f 6e 74 72 | 6f 6c 20 42 72 69 67 68 |derContr|ol Brigh|
|00000150| 74 6e 65 73 73 53 6c 69 | 64 65 72 3b 0d 0a 76 61 |tnessSli|der;..va|
|00000160| 72 20 6c 6f 63 61 6c 69 | 7a 65 64 20 73 74 72 69 |r locali|zed stri|
|00000170| 6e 67 20 42 72 69 67 68 | 74 6e 65 73 73 54 65 78 |ng Brigh|tnessTex|
|00000180| 74 3b 0d 0a 76 61 72 20 | 6c 6f 63 61 6c 69 7a 65 |t;..var |localize|
|00000190| 64 20 73 74 72 69 6e 67 | 20 42 72 69 67 68 74 6e |d string| Brightn|
|000001a0| 65 73 73 48 65 6c 70 3b | 0d 0a 0d 0a 2f 2f 20 43 |essHelp;|....// C|
|000001b0| 6f 6e 66 69 72 6d 20 6d | 65 73 73 61 67 65 20 62 |onfirm m|essage b|
|000001c0| 6f 78 0d 0a 0d 0a 76 61 | 72 20 55 57 69 6e 64 6f |ox....va|r UWindo|
|000001d0| 77 4d 65 73 73 61 67 65 | 42 6f 78 20 43 6f 6e 66 |wMessage|Box Conf|
|000001e0| 69 72 6d 53 65 74 74 69 | 6e 67 73 2c 20 43 6f 6e |irmSetti|ngs, Con|
|000001f0| 66 69 72 6d 44 72 69 76 | 65 72 2c 20 43 6f 6e 66 |firmDriv|er, Conf|
|00000200| 69 72 6d 57 6f 72 6c 64 | 54 65 78 74 75 72 65 44 |irmWorld|TextureD|
|00000210| 65 74 61 69 6c 2c 20 43 | 6f 6e 66 69 72 6d 53 6b |etail, C|onfirmSk|
|00000220| 69 6e 54 65 78 74 75 72 | 65 44 65 74 61 69 6c 3b |inTextur|eDetail;|
|00000230| 0d 0a 76 61 72 20 6c 6f | 63 61 6c 69 7a 65 64 20 |..var lo|calized |
|00000240| 73 74 72 69 6e 67 20 43 | 6f 6e 66 69 72 6d 53 65 |string C|onfirmSe|
|00000250| 74 74 69 6e 67 73 54 69 | 74 6c 65 3b 0d 0a 76 61 |ttingsTi|tle;..va|
|00000260| 72 20 6c 6f 63 61 6c 69 | 7a 65 64 20 73 74 72 69 |r locali|zed stri|
|00000270| 6e 67 20 43 6f 6e 66 69 | 72 6d 53 65 74 74 69 6e |ng Confi|rmSettin|
|00000280| 67 73 54 65 78 74 3b 0d | 0a 76 61 72 20 6c 6f 63 |gsText;.|.var loc|
|00000290| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 20 43 6f |alized s|tring Co|
|000002a0| 6e 66 69 72 6d 53 65 74 | 74 69 6e 67 73 43 61 6e |nfirmSet|tingsCan|
|000002b0| 63 65 6c 54 69 74 6c 65 | 3b 0d 0a 76 61 72 20 6c |celTitle|;..var l|
|000002c0| 6f 63 61 6c 69 7a 65 64 | 20 73 74 72 69 6e 67 20 |ocalized| string |
|000002d0| 43 6f 6e 66 69 72 6d 53 | 65 74 74 69 6e 67 73 43 |ConfirmS|ettingsC|
|000002e0| 61 6e 63 65 6c 54 65 78 | 74 3b 0d 0a 76 61 72 20 |ancelTex|t;..var |
|000002f0| 6c 6f 63 61 6c 69 7a 65 | 64 20 73 74 72 69 6e 67 |localize|d string|
|00000300| 20 43 6f 6e 66 69 72 6d | 54 65 78 74 75 72 65 44 | Confirm|TextureD|
|00000310| 65 74 61 69 6c 54 69 74 | 6c 65 3b 0d 0a 76 61 72 |etailTit|le;..var|
|00000320| 20 6c 6f 63 61 6c 69 7a | 65 64 20 73 74 72 69 6e | localiz|ed strin|
|00000330| 67 20 43 6f 6e 66 69 72 | 6d 54 65 78 74 75 72 65 |g Confir|mTexture|
|00000340| 44 65 74 61 69 6c 54 65 | 78 74 3b 0d 0a 76 61 72 |DetailTe|xt;..var|
|00000350| 20 6c 6f 63 61 6c 69 7a | 65 64 20 73 74 72 69 6e | localiz|ed strin|
|00000360| 67 20 43 6f 6e 66 69 72 | 6d 44 72 69 76 65 72 54 |g Confir|mDriverT|
|00000370| 69 74 6c 65 3b 0d 0a 76 | 61 72 20 6c 6f 63 61 6c |itle;..v|ar local|
|00000380| 69 7a 65 64 20 73 74 72 | 69 6e 67 20 43 6f 6e 66 |ized str|ing Conf|
|00000390| 69 72 6d 44 72 69 76 65 | 72 54 65 78 74 3b 0d 0a |irmDrive|rText;..|
|000003a0| 0d 0a 0d 0a 76 61 72 20 | 73 74 72 69 6e 67 20 4f |....var |string O|
|000003b0| 6c 64 53 65 74 74 69 6e | 67 73 3b 0d 0a 76 61 72 |ldSettin|gs;..var|
|000003c0| 20 62 6f 6f 6c 20 62 49 | 6e 69 74 69 61 6c 69 7a | bool bI|nitializ|
|000003d0| 65 64 3b 0d 0a 76 61 72 | 20 66 6c 6f 61 74 20 43 |ed;..var| float C|
|000003e0| 6f 6e 74 72 6f 6c 4f 66 | 66 73 65 74 3b 0d 0a 0d |ontrolOf|fset;...|
|000003f0| 0a 66 75 6e 63 74 69 6f | 6e 20 43 72 65 61 74 65 |.functio|n Create|
|00000400| 64 28 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 69 |d()..{..|.local i|
|00000410| 6e 74 20 43 6f 6e 74 72 | 6f 6c 57 69 64 74 68 2c |nt Contr|olWidth,|
|00000420| 20 43 6f 6e 74 72 6f 6c | 4c 65 66 74 2c 20 43 6f | Control|Left, Co|
|00000430| 6e 74 72 6f 6c 52 69 67 | 68 74 3b 0d 0a 09 6c 6f |ntrolRig|ht;...lo|
|00000440| 63 61 6c 20 69 6e 74 20 | 43 65 6e 74 65 72 57 69 |cal int |CenterWi|
|00000450| 64 74 68 2c 20 43 65 6e | 74 65 72 50 6f 73 3b 0d |dth, Cen|terPos;.|
|00000460| 0a 0d 0a 09 53 75 70 65 | 72 2e 43 72 65 61 74 65 |....Supe|r.Create|
|00000470| 64 28 29 3b 0d 0a 0d 0a | 09 43 6f 6e 74 72 6f 6c |d();....|.Control|
|00000480| 57 69 64 74 68 20 3d 20 | 57 69 6e 57 69 64 74 68 |Width = |WinWidth|
|00000490| 2f 32 2e 35 3b 0d 0a 09 | 43 6f 6e 74 72 6f 6c 4c |/2.5;...|ControlL|
|000004a0| 65 66 74 20 3d 20 28 57 | 69 6e 57 69 64 74 68 2f |eft = (W|inWidth/|
|000004b0| 32 20 2d 20 43 6f 6e 74 | 72 6f 6c 57 69 64 74 68 |2 - Cont|rolWidth|
|000004c0| 29 2f 32 3b 0d 0a 09 43 | 6f 6e 74 72 6f 6c 52 69 |)/2;...C|ontrolRi|
|000004d0| 67 68 74 20 3d 20 57 69 | 6e 57 69 64 74 68 2f 32 |ght = Wi|nWidth/2|
|000004e0| 20 2b 20 43 6f 6e 74 72 | 6f 6c 4c 65 66 74 3b 0d | + Contr|olLeft;.|
|000004f0| 0a 0d 0a 09 43 65 6e 74 | 65 72 57 69 64 74 68 20 |....Cent|erWidth |
|00000500| 3d 20 28 57 69 6e 57 69 | 64 74 68 2f 34 29 2a 33 |= (WinWi|dth/4)*3|
|00000510| 3b 0d 0a 09 43 65 6e 74 | 65 72 50 6f 73 20 3d 20 |;...Cent|erPos = |
|00000520| 28 57 69 6e 57 69 64 74 | 68 20 2d 20 43 65 6e 74 |(WinWidt|h - Cent|
|00000530| 65 72 57 69 64 74 68 29 | 2f 32 3b 0d 0a 09 0d 0a |erWidth)|/2;.....|
|00000540| 0d 0a 09 2f 2f 20 52 65 | 73 6f 6c 75 74 69 6f 6e |...// Re|solution|
|00000550| 0d 0a 09 52 65 73 6f 6c | 75 74 69 6f 6e 43 6f 6d |...Resol|utionCom|
|00000560| 62 6f 20 3d 20 55 57 69 | 6e 64 6f 77 43 6f 6d 62 |bo = UWi|ndowComb|
|00000570| 6f 43 6f 6e 74 72 6f 6c | 28 43 72 65 61 74 65 43 |oControl|(CreateC|
|00000580| 6f 6e 74 72 6f 6c 28 63 | 6c 61 73 73 27 55 57 69 |ontrol(c|lass'UWi|
|00000590| 6e 64 6f 77 43 6f 6d 62 | 6f 43 6f 6e 74 72 6f 6c |ndowComb|oControl|
|000005a0| 27 2c 20 43 65 6e 74 65 | 72 50 6f 73 2c 20 43 6f |', Cente|rPos, Co|
|000005b0| 6e 74 72 6f 6c 4f 66 66 | 73 65 74 2c 20 43 65 6e |ntrolOff|set, Cen|
|000005c0| 74 65 72 57 69 64 74 68 | 2c 20 31 29 29 3b 0d 0a |terWidth|, 1));..|
|000005d0| 09 52 65 73 6f 6c 75 74 | 69 6f 6e 43 6f 6d 62 6f |.Resolut|ionCombo|
|000005e0| 2e 53 65 74 54 65 78 74 | 28 52 65 73 6f 6c 75 74 |.SetText|(Resolut|
|000005f0| 69 6f 6e 54 65 78 74 29 | 3b 0d 0a 09 52 65 73 6f |ionText)|;...Reso|
|00000600| 6c 75 74 69 6f 6e 43 6f | 6d 62 6f 2e 53 65 74 48 |lutionCo|mbo.SetH|
|00000610| 65 6c 70 54 65 78 74 28 | 52 65 73 6f 6c 75 74 69 |elpText(|Resoluti|
|00000620| 6f 6e 48 65 6c 70 29 3b | 0d 0a 09 52 65 73 6f 6c |onHelp);|...Resol|
|00000630| 75 74 69 6f 6e 43 6f 6d | 62 6f 2e 53 65 74 46 6f |utionCom|bo.SetFo|
|00000640| 6e 74 28 46 5f 4e 6f 72 | 6d 61 6c 29 3b 0d 0a 09 |nt(F_Nor|mal);...|
|00000650| 52 65 73 6f 6c 75 74 69 | 6f 6e 43 6f 6d 62 6f 2e |Resoluti|onCombo.|
|00000660| 53 65 74 45 64 69 74 61 | 62 6c 65 28 46 61 6c 73 |SetEdita|ble(Fals|
|00000670| 65 29 3b 0d 0a 09 43 6f | 6e 74 72 6f 6c 4f 66 66 |e);...Co|ntrolOff|
|00000680| 73 65 74 20 2b 3d 20 32 | 35 3b 0d 0a 0d 0a 09 2f |set += 2|5;...../|
|00000690| 2f 20 42 72 69 67 68 74 | 6e 65 73 73 0d 0a 09 42 |/ Bright|ness...B|
|000006a0| 72 69 67 68 74 6e 65 73 | 73 53 6c 69 64 65 72 20 |rightnes|sSlider |
|000006b0| 3d 20 55 57 69 6e 64 6f | 77 48 53 6c 69 64 65 72 |= UWindo|wHSlider|
|000006c0| 43 6f 6e 74 72 6f 6c 28 | 43 72 65 61 74 65 43 6f |Control(|CreateCo|
|000006d0| 6e 74 72 6f 6c 28 63 6c | 61 73 73 27 55 57 69 6e |ntrol(cl|ass'UWin|
|000006e0| 64 6f 77 48 53 6c 69 64 | 65 72 43 6f 6e 74 72 6f |dowHSlid|erContro|
|000006f0| 6c 27 2c 20 43 65 6e 74 | 65 72 50 6f 73 2c 20 43 |l', Cent|erPos, C|
|00000700| 6f 6e 74 72 6f 6c 4f 66 | 66 73 65 74 2c 20 43 65 |ontrolOf|fset, Ce|
|00000710| 6e 74 65 72 57 69 64 74 | 68 2c 20 31 29 29 3b 0d |nterWidt|h, 1));.|
|00000720| 0a 09 42 72 69 67 68 74 | 6e 65 73 73 53 6c 69 64 |..Bright|nessSlid|
|00000730| 65 72 2e 62 4e 6f 53 6c | 69 64 69 6e 67 4e 6f 74 |er.bNoSl|idingNot|
|00000740| 69 66 79 20 3d 20 54 72 | 75 65 3b 0d 0a 09 42 72 |ify = Tr|ue;...Br|
|00000750| 69 67 68 74 6e 65 73 73 | 53 6c 69 64 65 72 2e 53 |ightness|Slider.S|
|00000760| 65 74 52 61 6e 67 65 28 | 32 2c 20 31 30 2c 20 31 |etRange(|2, 10, 1|
|00000770| 29 3b 0d 0a 09 42 72 69 | 67 68 74 6e 65 73 73 53 |);...Bri|ghtnessS|
|00000780| 6c 69 64 65 72 2e 53 65 | 74 54 65 78 74 28 42 72 |lider.Se|tText(Br|
|00000790| 69 67 68 74 6e 65 73 73 | 54 65 78 74 29 3b 0d 0a |ightness|Text);..|
|000007a0| 09 42 72 69 67 68 74 6e | 65 73 73 53 6c 69 64 65 |.Brightn|essSlide|
|000007b0| 72 2e 53 65 74 48 65 6c | 70 54 65 78 74 28 42 72 |r.SetHel|pText(Br|
|000007c0| 69 67 68 74 6e 65 73 73 | 48 65 6c 70 29 3b 0d 0a |ightness|Help);..|
|000007d0| 09 42 72 69 67 68 74 6e | 65 73 73 53 6c 69 64 65 |.Brightn|essSlide|
|000007e0| 72 2e 53 65 74 46 6f 6e | 74 28 46 5f 4e 6f 72 6d |r.SetFon|t(F_Norm|
|000007f0| 61 6c 29 3b 0d 0a 0d 0a | 09 4c 6f 61 64 41 76 61 |al);....|.LoadAva|
|00000800| 69 6c 61 62 6c 65 53 65 | 74 74 69 6e 67 73 28 29 |ilableSe|ttings()|
|00000810| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00000820| 20 41 66 74 65 72 43 72 | 65 61 74 65 28 29 0d 0a | AfterCr|eate()..|
|00000830| 7b 0d 0a 09 53 75 70 65 | 72 2e 41 66 74 65 72 43 |{...Supe|r.AfterC|
|00000840| 72 65 61 74 65 28 29 3b | 0d 0a 0d 0a 09 44 65 73 |reate();|.....Des|
|00000850| 69 72 65 64 57 69 64 74 | 68 20 3d 20 32 32 30 3b |iredWidt|h = 220;|
|00000860| 0d 0a 09 44 65 73 69 72 | 65 64 48 65 69 67 68 74 |...Desir|edHeight|
|00000870| 20 3d 20 43 6f 6e 74 72 | 6f 6c 4f 66 66 73 65 74 | = Contr|olOffset|
|00000880| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00000890| 20 4c 6f 61 64 41 76 61 | 69 6c 61 62 6c 65 53 65 | LoadAva|ilableSe|
|000008a0| 74 74 69 6e 67 73 28 29 | 0d 0a 7b 0d 0a 09 6c 6f |ttings()|..{...lo|
|000008b0| 63 61 6c 20 66 6c 6f 61 | 74 20 42 72 69 67 68 74 |cal floa|t Bright|
|000008c0| 6e 65 73 73 3b 0d 0a 0d | 0a 09 62 49 6e 69 74 69 |ness;...|..bIniti|
|000008d0| 61 6c 69 7a 65 64 20 3d | 20 46 61 6c 73 65 3b 0d |alized =| False;.|
|000008e0| 0a 0d 0a 09 2f 2f 20 4c | 6f 61 64 20 61 76 61 69 |....// L|oad avai|
|000008f0| 6c 61 62 6c 65 20 76 69 | 64 65 6f 20 64 72 69 76 |lable vi|deo driv|
|00000900| 65 72 73 20 61 6e 64 20 | 63 75 72 72 65 6e 74 20 |ers and |current |
|00000910| 76 69 64 65 6f 20 64 72 | 69 76 65 72 20 68 65 72 |video dr|iver her|
|00000920| 65 2e 0d 0a 0d 0a 09 52 | 65 73 6f 6c 75 74 69 6f |e......R|esolutio|
|00000930| 6e 43 6f 6d 62 6f 2e 43 | 6c 65 61 72 28 29 3b 0d |nCombo.C|lear();.|
|00000940| 0a 09 0d 0a 2f 2a 20 2d | 20 47 65 74 52 65 73 20 |..../* -| GetRes |
|00000950| 69 73 6e 27 74 20 77 6f | 72 6b 69 6e 67 09 0d 0a |isn't wo|rking...|
|00000960| 09 50 61 72 73 65 53 74 | 72 69 6e 67 20 3d 20 47 |.ParseSt|ring = G|
|00000970| 65 74 50 6c 61 79 65 72 | 4f 77 6e 65 72 28 29 2e |etPlayer|Owner().|
|00000980| 43 6f 6e 73 6f 6c 65 43 | 6f 6d 6d 61 6e 64 28 22 |ConsoleC|ommand("|
|00000990| 47 65 74 52 65 73 22 29 | 3b 0d 0a 09 50 20 3d 20 |GetRes")|;...P = |
|000009a0| 49 6e 53 74 72 28 50 61 | 72 73 65 53 74 72 69 6e |InStr(Pa|rseStrin|
|000009b0| 67 2c 20 22 20 22 29 3b | 0d 0a 09 77 68 69 6c 65 |g, " ");|...while|
|000009c0| 20 28 50 20 21 3d 20 2d | 31 29 20 0d 0a 09 7b 0d | (P != -|1) ...{.|
|000009d0| 0a 09 09 52 65 73 6f 6c | 75 74 69 6f 6e 43 6f 6d |...Resol|utionCom|
|000009e0| 62 6f 2e 41 64 64 49 74 | 65 6d 28 4c 65 66 74 28 |bo.AddIt|em(Left(|
|000009f0| 50 61 72 73 65 53 74 72 | 69 6e 67 2c 20 50 29 29 |ParseStr|ing, P))|
|00000a00| 3b 0d 0a 09 09 50 61 72 | 73 65 53 74 72 69 6e 67 |;....Par|seString|
|00000a10| 20 3d 20 4d 69 64 28 50 | 61 72 73 65 53 74 72 69 | = Mid(P|arseStri|
|00000a20| 6e 67 2c 20 50 2b 31 29 | 3b 0d 0a 09 09 50 20 3d |ng, P+1)|;....P =|
|00000a30| 20 49 6e 53 74 72 28 50 | 61 72 73 65 53 74 72 69 | InStr(P|arseStri|
|00000a40| 6e 67 2c 20 22 20 22 29 | 3b 0d 0a 09 7d 0d 0a 09 |ng, " ")|;...}...|
|00000a50| 52 65 73 6f 6c 75 74 69 | 6f 6e 43 6f 6d 62 6f 2e |Resoluti|onCombo.|
|00000a60| 41 64 64 49 74 65 6d 28 | 50 61 72 73 65 53 74 72 |AddItem(|ParseStr|
|00000a70| 69 6e 67 29 3b 0d 0a 09 | 52 65 73 6f 6c 75 74 69 |ing);...|Resoluti|
|00000a80| 6f 6e 43 6f 6d 62 6f 2e | 53 65 74 56 61 6c 75 65 |onCombo.|SetValue|
|00000a90| 28 47 65 74 50 6c 61 79 | 65 72 4f 77 6e 65 72 28 |(GetPlay|erOwner(|
|00000aa0| 29 2e 43 6f 6e 73 6f 6c | 65 43 6f 6d 6d 61 6e 64 |).Consol|eCommand|
|00000ab0| 28 22 47 65 74 43 75 72 | 72 65 6e 74 52 65 73 22 |("GetCur|rentRes"|
|00000ac0| 29 29 3b 0d 0a 2a 2f 0d | 0a 0d 0a 09 52 65 73 6f |));..*/.|....Reso|
|00000ad0| 6c 75 74 69 6f 6e 43 6f | 6d 62 6f 2e 41 64 64 49 |lutionCo|mbo.AddI|
|00000ae0| 74 65 6d 28 22 36 34 30 | 78 34 38 30 22 29 3b 0d |tem("640|x480");.|
|00000af0| 0a 09 52 65 73 6f 6c 75 | 74 69 6f 6e 43 6f 6d 62 |..Resolu|tionComb|
|00000b00| 6f 2e 41 64 64 49 74 65 | 6d 28 22 38 30 30 78 36 |o.AddIte|m("800x6|
|00000b10| 30 30 22 29 3b 0d 0a 09 | 52 65 73 6f 6c 75 74 69 |00");...|Resoluti|
|00000b20| 6f 6e 43 6f 6d 62 6f 2e | 41 64 64 49 74 65 6d 28 |onCombo.|AddItem(|
|00000b30| 22 31 30 32 34 78 37 36 | 38 22 29 3b 0d 0a 09 52 |"1024x76|8");...R|
|00000b40| 65 73 6f 6c 75 74 69 6f | 6e 43 6f 6d 62 6f 2e 41 |esolutio|nCombo.A|
|00000b50| 64 64 49 74 65 6d 28 22 | 31 32 38 30 78 31 30 32 |ddItem("|1280x102|
|00000b60| 34 22 29 3b 0d 0a 09 52 | 65 73 6f 6c 75 74 69 6f |4");...R|esolutio|
|00000b70| 6e 43 6f 6d 62 6f 2e 41 | 64 64 49 74 65 6d 28 22 |nCombo.A|ddItem("|
|00000b80| 31 36 30 30 78 31 32 30 | 30 22 29 3b 0d 0a 09 52 |1600x120|0");...R|
|00000b90| 65 73 6f 6c 75 74 69 6f | 6e 43 6f 6d 62 6f 2e 53 |esolutio|nCombo.S|
|00000ba0| 65 74 56 61 6c 75 65 28 | 47 65 74 50 6c 61 79 65 |etValue(|GetPlaye|
|00000bb0| 72 4f 77 6e 65 72 28 29 | 2e 43 6f 6e 73 6f 6c 65 |rOwner()|.Console|
|00000bc0| 43 6f 6d 6d 61 6e 64 28 | 22 47 65 74 43 75 72 72 |Command(|"GetCurr|
|00000bd0| 65 6e 74 52 65 73 22 29 | 29 3b 0d 0a 0d 0a 0d 0a |entRes")|);......|
|00000be0| 09 42 72 69 67 68 74 6e | 65 73 73 20 3d 20 69 6e |.Brightn|ess = in|
|00000bf0| 74 28 66 6c 6f 61 74 28 | 47 65 74 50 6c 61 79 65 |t(float(|GetPlaye|
|00000c00| 72 4f 77 6e 65 72 28 29 | 2e 43 6f 6e 73 6f 6c 65 |rOwner()|.Console|
|00000c10| 43 6f 6d 6d 61 6e 64 28 | 22 67 65 74 20 69 6e 69 |Command(|"get ini|
|00000c20| 3a 45 6e 67 69 6e 65 2e | 45 6e 67 69 6e 65 2e 56 |:Engine.|Engine.V|
|00000c30| 69 65 77 70 6f 72 74 4d | 61 6e 61 67 65 72 20 42 |iewportM|anager B|
|00000c40| 72 69 67 68 74 6e 65 73 | 73 22 29 29 20 2a 20 31 |rightnes|s")) * 1|
|00000c50| 30 29 3b 0d 0a 09 42 72 | 69 67 68 74 6e 65 73 73 |0);...Br|ightness|
|00000c60| 53 6c 69 64 65 72 2e 53 | 65 74 56 61 6c 75 65 28 |Slider.S|etValue(|
|00000c70| 42 72 69 67 68 74 6e 65 | 73 73 29 3b 0d 0a 0d 0a |Brightne|ss);....|
|00000c80| 09 62 49 6e 69 74 69 61 | 6c 69 7a 65 64 20 3d 20 |.bInitia|lized = |
|00000c90| 54 72 75 65 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |True;..}|....func|
|00000ca0| 74 69 6f 6e 20 52 65 73 | 6f 6c 75 74 69 6f 6e 43 |tion Res|olutionC|
|00000cb0| 68 61 6e 67 65 64 28 66 | 6c 6f 61 74 20 57 2c 20 |hanged(f|loat W, |
|00000cc0| 66 6c 6f 61 74 20 48 29 | 0d 0a 7b 0d 0a 09 53 75 |float H)|..{...Su|
|00000cd0| 70 65 72 2e 52 65 73 6f | 6c 75 74 69 6f 6e 43 68 |per.Reso|lutionCh|
|00000ce0| 61 6e 67 65 64 28 48 2c | 20 48 29 3b 0d 0a 09 69 |anged(H,| H);...i|
|00000cf0| 66 28 47 65 74 50 6c 61 | 79 65 72 4f 77 6e 65 72 |f(GetPla|yerOwner|
|00000d00| 28 29 2e 43 6f 6e 73 6f | 6c 65 43 6f 6d 6d 61 6e |().Conso|leComman|
|00000d10| 64 28 22 47 65 74 43 75 | 72 72 65 6e 74 52 65 73 |d("GetCu|rrentRes|
|00000d20| 22 29 20 21 3d 20 52 65 | 73 6f 6c 75 74 69 6f 6e |") != Re|solution|
|00000d30| 43 6f 6d 62 6f 2e 47 65 | 74 56 61 6c 75 65 28 29 |Combo.Ge|tValue()|
|00000d40| 29 0d 0a 09 09 4c 6f 61 | 64 41 76 61 69 6c 61 62 |)....Loa|dAvailab|
|00000d50| 6c 65 53 65 74 74 69 6e | 67 73 28 29 3b 0d 0a 7d |leSettin|gs();..}|
|00000d60| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 42 65 66 |....func|tion Bef|
|00000d70| 6f 72 65 50 61 69 6e 74 | 28 43 61 6e 76 61 73 20 |orePaint|(Canvas |
|00000d80| 43 2c 20 66 6c 6f 61 74 | 20 58 2c 20 66 6c 6f 61 |C, float| X, floa|
|00000d90| 74 20 59 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |t Y)..{.|..local |
|00000da0| 69 6e 74 20 43 6f 6e 74 | 72 6f 6c 57 69 64 74 68 |int Cont|rolWidth|
|00000db0| 2c 20 43 6f 6e 74 72 6f | 6c 4c 65 66 74 2c 20 43 |, Contro|lLeft, C|
|00000dc0| 6f 6e 74 72 6f 6c 52 69 | 67 68 74 3b 0d 0a 09 6c |ontrolRi|ght;...l|
|00000dd0| 6f 63 61 6c 20 69 6e 74 | 20 43 65 6e 74 65 72 57 |ocal int| CenterW|
|00000de0| 69 64 74 68 2c 20 43 65 | 6e 74 65 72 50 6f 73 3b |idth, Ce|nterPos;|
|00000df0| 0d 0a 0d 0a 09 53 75 70 | 65 72 2e 42 65 66 6f 72 |.....Sup|er.Befor|
|00000e00| 65 50 61 69 6e 74 28 43 | 2c 20 58 2c 20 59 29 3b |ePaint(C|, X, Y);|
|00000e10| 0d 0a 0d 0a 09 43 6f 6e | 74 72 6f 6c 57 69 64 74 |.....Con|trolWidt|
|00000e20| 68 20 3d 20 57 69 6e 57 | 69 64 74 68 2f 32 2e 35 |h = WinW|idth/2.5|
|00000e30| 3b 0d 0a 09 43 6f 6e 74 | 72 6f 6c 4c 65 66 74 20 |;...Cont|rolLeft |
|00000e40| 3d 20 28 57 69 6e 57 69 | 64 74 68 2f 32 20 2d 20 |= (WinWi|dth/2 - |
|00000e50| 43 6f 6e 74 72 6f 6c 57 | 69 64 74 68 29 2f 32 3b |ControlW|idth)/2;|
|00000e60| 0d 0a 09 43 6f 6e 74 72 | 6f 6c 52 69 67 68 74 20 |...Contr|olRight |
|00000e70| 3d 20 57 69 6e 57 69 64 | 74 68 2f 32 20 2b 20 43 |= WinWid|th/2 + C|
|00000e80| 6f 6e 74 72 6f 6c 4c 65 | 66 74 3b 0d 0a 0d 0a 09 |ontrolLe|ft;.....|
|00000e90| 43 65 6e 74 65 72 57 69 | 64 74 68 20 3d 20 28 57 |CenterWi|dth = (W|
|00000ea0| 69 6e 57 69 64 74 68 2f | 34 29 2a 33 3b 0d 0a 09 |inWidth/|4)*3;...|
|00000eb0| 43 65 6e 74 65 72 50 6f | 73 20 3d 20 28 57 69 6e |CenterPo|s = (Win|
|00000ec0| 57 69 64 74 68 20 2d 20 | 43 65 6e 74 65 72 57 69 |Width - |CenterWi|
|00000ed0| 64 74 68 29 2f 32 3b 0d | 0a 0d 0a 09 52 65 73 6f |dth)/2;.|....Reso|
|00000ee0| 6c 75 74 69 6f 6e 43 6f | 6d 62 6f 2e 53 65 74 53 |lutionCo|mbo.SetS|
|00000ef0| 69 7a 65 28 43 65 6e 74 | 65 72 57 69 64 74 68 2c |ize(Cent|erWidth,|
|00000f00| 20 31 29 3b 0d 0a 09 52 | 65 73 6f 6c 75 74 69 6f | 1);...R|esolutio|
|00000f10| 6e 43 6f 6d 62 6f 2e 57 | 69 6e 4c 65 66 74 20 3d |nCombo.W|inLeft =|
|00000f20| 20 43 65 6e 74 65 72 50 | 6f 73 3b 0d 0a 09 52 65 | CenterP|os;...Re|
|00000f30| 73 6f 6c 75 74 69 6f 6e | 43 6f 6d 62 6f 2e 45 64 |solution|Combo.Ed|
|00000f40| 69 74 42 6f 78 57 69 64 | 74 68 20 3d 20 31 30 30 |itBoxWid|th = 100|
|00000f50| 3b 0d 0a 0d 0a 09 42 72 | 69 67 68 74 6e 65 73 73 |;.....Br|ightness|
|00000f60| 53 6c 69 64 65 72 2e 53 | 65 74 53 69 7a 65 28 43 |Slider.S|etSize(C|
|00000f70| 65 6e 74 65 72 57 69 64 | 74 68 2c 20 31 29 3b 0d |enterWid|th, 1);.|
|00000f80| 0a 09 42 72 69 67 68 74 | 6e 65 73 73 53 6c 69 64 |..Bright|nessSlid|
|00000f90| 65 72 2e 53 6c 69 64 65 | 72 57 69 64 74 68 20 3d |er.Slide|rWidth =|
|00000fa0| 20 31 30 30 3b 0d 0a 09 | 42 72 69 67 68 74 6e 65 | 100;...|Brightne|
|00000fb0| 73 73 53 6c 69 64 65 72 | 2e 57 69 6e 4c 65 66 74 |ssSlider|.WinLeft|
|00000fc0| 20 3d 20 43 65 6e 74 65 | 72 50 6f 73 3b 0d 0a 7d | = Cente|rPos;..}|
|00000fd0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 4e 6f 74 |....func|tion Not|
|00000fe0| 69 66 79 28 55 57 69 6e | 64 6f 77 44 69 61 6c 6f |ify(UWin|dowDialo|
|00000ff0| 67 43 6f 6e 74 72 6f 6c | 20 43 2c 20 62 79 74 65 |gControl| C, byte|
|00001000| 20 45 29 0d 0a 7b 0d 0a | 09 53 75 70 65 72 2e 4e | E)..{..|.Super.N|
|00001010| 6f 74 69 66 79 28 43 2c | 20 45 29 3b 0d 0a 0d 0a |otify(C,| E);....|
|00001020| 09 73 77 69 74 63 68 28 | 45 29 0d 0a 09 7b 0d 0a |.switch(|E)...{..|
|00001030| 09 63 61 73 65 20 44 45 | 5f 43 68 61 6e 67 65 3a |.case DE|_Change:|
|00001040| 0d 0a 09 09 73 77 69 74 | 63 68 28 43 29 0d 0a 09 |....swit|ch(C)...|
|00001050| 09 7b 0d 0a 09 09 63 61 | 73 65 20 52 65 73 6f 6c |.{....ca|se Resol|
|00001060| 75 74 69 6f 6e 43 6f 6d | 62 6f 3a 0d 0a 09 09 09 |utionCom|bo:.....|
|00001070| 53 65 74 74 69 6e 67 73 | 43 68 61 6e 67 65 64 28 |Settings|Changed(|
|00001080| 29 3b 0d 0a 09 09 09 62 | 72 65 61 6b 3b 0d 0a 09 |);.....b|reak;...|
|00001090| 09 63 61 73 65 20 42 72 | 69 67 68 74 6e 65 73 73 |.case Br|ightness|
|000010a0| 53 6c 69 64 65 72 3a 0d | 0a 09 09 09 42 72 69 67 |Slider:.|....Brig|
|000010b0| 68 74 6e 65 73 73 43 68 | 61 6e 67 65 64 28 29 3b |htnessCh|anged();|
|000010c0| 0d 0a 09 09 09 62 72 65 | 61 6b 3b 0d 0a 09 09 7d |.....bre|ak;....}|
|000010d0| 0d 0a 09 09 62 72 65 61 | 6b 3b 0d 0a 09 7d 0d 0a |....brea|k;...}..|
|000010e0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 53 65 |}....fun|ction Se|
|000010f0| 74 74 69 6e 67 73 43 68 | 61 6e 67 65 64 28 29 0d |ttingsCh|anged().|
|00001100| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 73 74 72 69 6e |.{...loc|al strin|
|00001110| 67 20 4e 65 77 53 65 74 | 74 69 6e 67 73 3b 0d 0a |g NewSet|tings;..|
|00001120| 0d 0a 09 69 66 28 62 49 | 6e 69 74 69 61 6c 69 7a |...if(bI|nitializ|
|00001130| 65 64 29 0d 0a 09 7b 0d | 0a 09 09 4f 6c 64 53 65 |ed)...{.|...OldSe|
|00001140| 74 74 69 6e 67 73 20 3d | 20 47 65 74 50 6c 61 79 |ttings =| GetPlay|
|00001150| 65 72 4f 77 6e 65 72 28 | 29 2e 43 6f 6e 73 6f 6c |erOwner(|).Consol|
|00001160| 65 43 6f 6d 6d 61 6e 64 | 28 22 47 65 74 43 75 72 |eCommand|("GetCur|
|00001170| 72 65 6e 74 52 65 73 22 | 29 3b 0d 0a 0d 0a 09 09 |rentRes"|);......|
|00001180| 4e 65 77 53 65 74 74 69 | 6e 67 73 20 3d 20 52 65 |NewSetti|ngs = Re|
|00001190| 73 6f 6c 75 74 69 6f 6e | 43 6f 6d 62 6f 2e 47 65 |solution|Combo.Ge|
|000011a0| 74 56 61 6c 75 65 28 29 | 3b 0d 0a 0d 0a 09 09 69 |tValue()|;......i|
|000011b0| 66 28 4e 65 77 53 65 74 | 74 69 6e 67 73 20 21 3d |f(NewSet|tings !=|
|000011c0| 20 4f 6c 64 53 65 74 74 | 69 6e 67 73 29 0d 0a 09 | OldSett|ings)...|
|000011d0| 09 7b 0d 0a 09 09 09 47 | 65 74 50 6c 61 79 65 72 |.{.....G|etPlayer|
|000011e0| 4f 77 6e 65 72 28 29 2e | 43 6f 6e 73 6f 6c 65 43 |Owner().|ConsoleC|
|000011f0| 6f 6d 6d 61 6e 64 28 22 | 53 65 74 52 65 73 20 22 |ommand("|SetRes "|
|00001200| 24 4e 65 77 53 65 74 74 | 69 6e 67 73 29 3b 0d 0a |$NewSett|ings);..|
|00001210| 09 09 09 4c 6f 61 64 41 | 76 61 69 6c 61 62 6c 65 |...LoadA|vailable|
|00001220| 53 65 74 74 69 6e 67 73 | 28 29 3b 0d 0a 09 09 09 |Settings|();.....|
|00001230| 43 6f 6e 66 69 72 6d 53 | 65 74 74 69 6e 67 73 20 |ConfirmS|ettings |
|00001240| 3d 20 4d 65 73 73 61 67 | 65 42 6f 78 28 43 6f 6e |= Messag|eBox(Con|
|00001250| 66 69 72 6d 53 65 74 74 | 69 6e 67 73 54 69 74 6c |firmSett|ingsTitl|
|00001260| 65 2c 20 43 6f 6e 66 69 | 72 6d 53 65 74 74 69 6e |e, Confi|rmSettin|
|00001270| 67 73 54 65 78 74 2c 20 | 4d 42 5f 59 65 73 4e 6f |gsText, |MB_YesNo|
|00001280| 2c 20 4d 52 5f 4e 6f 2c | 20 4d 52 5f 4e 6f 6e 65 |, MR_No,| MR_None|
|00001290| 2c 20 31 30 29 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |, 10);..|..}...}.|
|000012a0| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 4d |.}....fu|nction M|
|000012b0| 65 73 73 61 67 65 42 6f | 78 44 6f 6e 65 28 55 57 |essageBo|xDone(UW|
|000012c0| 69 6e 64 6f 77 4d 65 73 | 73 61 67 65 42 6f 78 20 |indowMes|sageBox |
|000012d0| 57 2c 20 4d 65 73 73 61 | 67 65 42 6f 78 52 65 73 |W, Messa|geBoxRes|
|000012e0| 75 6c 74 20 52 65 73 75 | 6c 74 29 0d 0a 7b 0d 0a |ult Resu|lt)..{..|
|000012f0| 09 69 66 28 57 20 3d 3d | 20 43 6f 6e 66 69 72 6d |.if(W ==| Confirm|
|00001300| 53 65 74 74 69 6e 67 73 | 29 0d 0a 09 7b 0d 0a 09 |Settings|)...{...|
|00001310| 09 43 6f 6e 66 69 72 6d | 53 65 74 74 69 6e 67 73 |.Confirm|Settings|
|00001320| 20 3d 20 4e 6f 6e 65 3b | 0d 0a 09 09 69 66 28 52 | = None;|....if(R|
|00001330| 65 73 75 6c 74 20 21 3d | 20 4d 52 5f 59 65 73 29 |esult !=| MR_Yes)|
|00001340| 0d 0a 09 09 7b 0d 0a 09 | 09 09 47 65 74 50 6c 61 |....{...|..GetPla|
|00001350| 79 65 72 4f 77 6e 65 72 | 28 29 2e 43 6f 6e 73 6f |yerOwner|().Conso|
|00001360| 6c 65 43 6f 6d 6d 61 6e | 64 28 22 53 65 74 52 65 |leComman|d("SetRe|
|00001370| 73 20 22 24 4f 6c 64 53 | 65 74 74 69 6e 67 73 29 |s "$OldS|ettings)|
|00001380| 3b 0d 0a 09 09 09 4c 6f | 61 64 41 76 61 69 6c 61 |;.....Lo|adAvaila|
|00001390| 62 6c 65 53 65 74 74 69 | 6e 67 73 28 29 3b 09 09 |bleSetti|ngs();..|
|000013a0| 09 0d 0a 09 09 09 4d 65 | 73 73 61 67 65 42 6f 78 |......Me|ssageBox|
|000013b0| 28 43 6f 6e 66 69 72 6d | 53 65 74 74 69 6e 67 73 |(Confirm|Settings|
|000013c0| 43 61 6e 63 65 6c 54 69 | 74 6c 65 2c 20 43 6f 6e |CancelTi|tle, Con|
|000013d0| 66 69 72 6d 53 65 74 74 | 69 6e 67 73 43 61 6e 63 |firmSett|ingsCanc|
|000013e0| 65 6c 54 65 78 74 2c 20 | 4d 42 5f 4f 4b 2c 20 4d |elText, |MB_OK, M|
|000013f0| 52 5f 4f 4b 2c 20 4d 52 | 5f 4f 4b 29 3b 0d 0a 09 |R_OK, MR|_OK);...|
|00001400| 09 7d 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |.}...}..|}....fun|
|00001410| 63 74 69 6f 6e 20 42 72 | 69 67 68 74 6e 65 73 73 |ction Br|ightness|
|00001420| 43 68 61 6e 67 65 64 28 | 29 0d 0a 7b 0d 0a 09 69 |Changed(|)..{...i|
|00001430| 66 28 62 49 6e 69 74 69 | 61 6c 69 7a 65 64 29 0d |f(bIniti|alized).|
|00001440| 0a 09 7b 0d 0a 09 09 47 | 65 74 50 6c 61 79 65 72 |..{....G|etPlayer|
|00001450| 4f 77 6e 65 72 28 29 2e | 43 6f 6e 73 6f 6c 65 43 |Owner().|ConsoleC|
|00001460| 6f 6d 6d 61 6e 64 28 22 | 73 65 74 20 69 6e 69 3a |ommand("|set ini:|
|00001470| 45 6e 67 69 6e 65 2e 45 | 6e 67 69 6e 65 2e 56 69 |Engine.E|ngine.Vi|
|00001480| 65 77 70 6f 72 74 4d 61 | 6e 61 67 65 72 20 42 72 |ewportMa|nager Br|
|00001490| 69 67 68 74 6e 65 73 73 | 20 22 24 28 42 72 69 67 |ightness| "$(Brig|
|000014a0| 68 74 6e 65 73 73 53 6c | 69 64 65 72 2e 56 61 6c |htnessSl|ider.Val|
|000014b0| 75 65 20 2f 20 31 30 29 | 29 3b 0d 0a 09 09 47 65 |ue / 10)|);....Ge|
|000014c0| 74 50 6c 61 79 65 72 4f | 77 6e 65 72 28 29 2e 43 |tPlayerO|wner().C|
|000014d0| 6f 6e 73 6f 6c 65 43 6f | 6d 6d 61 6e 64 28 22 42 |onsoleCo|mmand("B|
|000014e0| 72 69 67 68 74 6e 65 73 | 73 20 22 24 28 42 72 69 |rightnes|s "$(Bri|
|000014f0| 67 68 74 6e 65 73 73 53 | 6c 69 64 65 72 2e 56 61 |ghtnessS|lider.Va|
|00001500| 6c 75 65 20 2f 20 31 30 | 29 29 3b 0d 0a 09 09 47 |lue / 10|));....G|
|00001510| 65 74 50 6c 61 79 65 72 | 4f 77 6e 65 72 28 29 2e |etPlayer|Owner().|
|00001520| 43 6f 6e 73 6f 6c 65 43 | 6f 6d 6d 61 6e 64 28 22 |ConsoleC|ommand("|
|00001530| 46 4c 55 53 48 22 29 3b | 0d 0a 09 7d 0d 0a 7d 0d |FLUSH");|...}..}.|
|00001540| 0a 00 | |.. | |
+--------+-------------------------+-------------------------+--------+--------+